import java.util.Arrays;

public class Main {

    public static void main(String[] args) {

       /* int[][] arr1;//创建了一个数组
        int[][] arr2 = new int[2][];//创建了一个两行的二维数组
        int[][] arr3 = new int[2][3];//创建了一个两行三列的二维数组

        //System.out.println(arr1);
        System.out.println(arr2);
        System.out.println(arr3);*/
        //动态初始化

        int[][] arr2 = new int[6][6];
        //静态初始化

        /*int[][] arr4 = new int[][]{{11,1,1,},{2,2,22},{3,3,33}};//三行三列

        int[][] arr3 = {{1,2,3},{2 ,3, 5 }};//二行三列
        //控制行
        for (int i = 0; i < arr3.length ; i++) {
            //控制列
            for (int j = 0; j < arr3[i].length; j++) {
                //打印每个下标
                System.out.print(arr3[i][j] + " ");
            }
            System.out.println();
        }  */

        /*for (int i = 0; i < arr1.length; i++) {
            for (int j = 0; j < arr1[i].length; j++) {
                arr1[i][j] = i + j;
            }*/
        int[][] arr1 = new int[9][5];
        System.out.println(arr1[0]);
        System.out.println(arr1[1]);
        System.out.println(arr1[2]);
    }
}